e8f99a58c30d2813f0ddc60787fe7dc8774dac4e,src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java,LazyPageScroller,run,#,331
Before Change
@Override
public void run() {
if (pagesToScroll != 0) {
filterOptions(currentPage + pagesToScroll, lastFilter);
pagesToScroll = 0;
}
}
After Change
@Override
public void run() {
if (pagesToScroll != 0) {
if (!waitingForFilteringResponse) {
/*
* Avoid scrolling while we are waiting for a response
* because otherwise the waiting flag will be reset in
* the first response and the second response will be
* ignored, causing an empty popup...
*
* As long as the scrolling delay is suitable
* double/triple clicks will work by scrolling two or
* three pages at a time and this should not be a
* problem.
*/
filterOptions(currentPage + pagesToScroll, lastFilter);
}
pagesToScroll = 0;
}